Instructions for replicating:
Frederick J. Boehmke, Olga Chyzh, and Cameron G. Thies. N.d. "Addressing 
Endogeneity in Actor-Specific Network Measures." Political Science 
Research and Methods (forthcoming).

To replicate Tables 1 and 7:

	1. Run table1-ergm.R (in R);
	2. Run table1.do (in Stata).

  Note that table1.do requires -estout- package in Stata.

To replicate Tables 2 and 8:

	1. Run table2.do.

  Note that table2.do requires -estout- and -scompute- packages in Stata.
**-scompute- is a user-written package by Omar Keshk and Kevin Sweeney. Please contact the authors directly to get access to the package. 

To replicate Tables 3 and 9:

	1. Run table3.do.

  Note that table3.do requires -estout-, -relogit-, and -st0248- packages in Stata.

To run the Monte Carlo to replicate Figures 1 and A2, and Tables A4, A5, and A6:

	1. Run montecarlo-centrality.do (in Stata);
	2. Run montecarlo-seq.do (in Stata);
	3. Run montecarlo-sscore.do (in Stata);
	4. Run montecarlo-figures-tables.do (in Stata).
	
	Notes: Make sure to install the required dependencies for each file. 
	  Files will create some subdirectories as needed to help with organization.
